package cn.icare.cms.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "EditItemCatRO",description = "商品分类修改参数对象类")
public class EditItemCatRO {
    @ApiModelProperty(value = "父类ID,根目录的值=0",required = true)
    private Long parentId;
    @ApiModelProperty(value = "类目id，唯一",required = true)
    private Long id;
    @ApiModelProperty(value = "分类名称",required = true)
    private String name;
    @ApiModelProperty(value = "排序号，从大到小排列",required = true)
    private Integer sortIndex;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
